// hellomailDlg.h : header file
//
//{{AFX_INCLUDES()
#include "webbrowser2.h"
//}}AFX_INCLUDES

#if !defined(AFX_HELLOMAILDLG_H__A0959D18_9D49_496E_836B_FEFC9D2BBCED__INCLUDED_)
#define AFX_HELLOMAILDLG_H__A0959D18_9D49_496E_836B_FEFC9D2BBCED__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CHellomailDlg dialog

class CHellomailDlg : public CDialog
{
// Construction
public:
	void show_address_book();
	void getAddressBook();
	static UINT t_get_mail(LPVOID pParam);
	void OnDeleteEmail();
	void OnReplyTo();
	void OnSaveEml();
	static UINT show_mailbox_receive(LPVOID pParam);
	CImageList m_ilRPT;
	CImageList m_ilTB;
	HICON m_hIcon;
	UINT last_ntype;
	CToolBar m_wndToolBar;
	CRect m_rect;
	int test_flag;
	CHellomailDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CHellomailDlg)
	enum { IDD = IDD_HELLOMAIL_DIALOG };
	CButton	m_save_attachment;
	CListCtrl	m_report;
	CListCtrl	m_mail_list;
	CWebBrowser2	m_browser;
	CString	m_title;
	CString	m_s_atta;
	CString	m_s_sub;
	CString	m_s_time;
	CString	m_s_from;
	CString	m_email_amount;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHellomailDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual void PostNcDestroy();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CHellomailDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBUTTONGetmail();
	afx_msg void OnBUTTONSend();
	afx_msg void OnBtnRegist();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnSaveAttachment();
	afx_msg void OnClickReportList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRclickMailList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkMailList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnItemchangedMailList(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.


#endif // !defined(AFX_HELLOMAILDLG_H__A0959D18_9D49_496E_836B_FEFC9D2BBCED__INCLUDED_)
